package op_ed_meth0d_override01;

public class manger extends Person{
    int Mwages;
    public manger(int jobNumber,String name,int wages,int Mwages){
        this.jobNumber = jobNumber;
        this.name = name;
        this.wages = wages;
        this.Mwages = Mwages;
    }
    //管理其他人
    public void work(){
        System.out.println(this.name+"在管理其他人");
    }
}
